GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — dynamic branch release · codercatdev/codingcat.dev@fe54c0f

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • .github/workflows
    • frontend-admin-deploy.yml
    • frontend-main-deploy.yml
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎…/workflows/dev-frontend-admin-deploy.yml‎ ‎…thub/workflows/frontend-admin-deploy.yml‎.github/workflows/dev-frontend-admin-deploy.yml renamed to .github/workflows/frontend-admin-deploy.yml .github/workflows/dev-frontend-admin-deploy.yml renamed to .github/workflows/frontend-admin-deploy.yml

Copy file name to clipboardExpand all lines: .github/workflows/frontend-admin-deploy.yml
+6-9Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
1-
name: dev-frontend-admin-deploy
1+
name: frontend-admin-deploy
22

33
on:
44
push:
5-
branches: [ dev ]
5+
branches: [ dev, stage, master ]
66
paths: 'frontend/admin/**'
77
workflow_dispatch:
88

9-
defaults:
10-
run:
11-
working-directory: ./frontend/admin
12-
139
jobs:
1410
tag:
1511
runs-on: ubuntu-latest
@@ -21,6 +17,7 @@ jobs:
2117
with:
2218
github_token: ${{ secrets.GITHUB_TOKEN }}
2319
tag_prefix: admin
20+
release_branches: master
2421
- name: Create a GitHub release
2522
uses: actions/create-release@v1
2623
env:
@@ -29,15 +26,15 @@ jobs:
2926
tag_name: ${{ steps.tag_version.outputs.new_tag }}
3027
release_name: Release ${{ steps.tag_version.outputs.new_tag }}
3128
body: ${{ steps.tag_version.outputs.changelog }}
32-
build:
29+
deploy:
3330
needs: tag
34-
environment: dev
31+
environment: ${GITHUB_REF##*/}
3532
runs-on: ubuntu-latest
3633
steps:
3734
- name: checkout
3835
uses: actions/checkout@v2
3936
# Deploy
40-
- name: Deploy dev to Vercel
37+
- name: Deploy ${GITHUB_REF##*/} to Vercel
4138
uses: amondnet/vercel-action@v19
4239
id: vercel-action-staging
4340
with:
Collapse file

‎…b/workflows/dev-frontend-main-deploy.yml‎ ‎…ithub/workflows/frontend-main-deploy.yml‎.github/workflows/dev-frontend-main-deploy.yml renamed to .github/workflows/frontend-main-deploy.yml .github/workflows/dev-frontend-main-deploy.yml renamed to .github/workflows/frontend-main-deploy.yml

Copy file name to clipboardExpand all lines: .github/workflows/frontend-main-deploy.yml
+5-8Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,11 @@
1-
name: dev-frontend-main-deploy
1+
name: frontend-admin-deploy
22

33
on:
44
push:
5-
branches: [ dev ]
5+
branches: [ dev, stage, master ]
66
paths: 'frontend/main/**'
77
workflow_dispatch:
88

9-
defaults:
10-
run:
11-
working-directory: ./frontend/main
12-
139
jobs:
1410
tag:
1511
runs-on: ubuntu-latest
@@ -21,6 +17,7 @@ jobs:
2117
with:
2218
github_token: ${{ secrets.GITHUB_TOKEN }}
2319
tag_prefix: main
20+
release_branches: master
2421
- name: Create a GitHub release
2522
uses: actions/create-release@v1
2623
env:
@@ -31,13 +28,13 @@ jobs:
3128
body: ${{ steps.tag_version.outputs.changelog }}
3229
deploy:
3330
needs: tag
34-
environment: dev
31+
environment: ${GITHUB_REF##*/}
3532
runs-on: ubuntu-latest
3633
steps:
3734
- name: checkout
3835
uses: actions/checkout@v2
3936
# Deploy
40-
- name: Deploy dev to Vercel
37+
- name: Deploy ${GITHUB_REF##*/} to Vercel
4138
uses: amondnet/vercel-action@v19
4239
id: vercel-action-staging
4340
with:

0 commit comments

Comments
0 (0)
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.