GeezerVison is showing github.com — add tags · codercatdev/codingcat.dev@429b12a
File tree
Expand file treeCollapse file tree
Open diff view settings
Expand file treeCollapse file tree
Open diff view settings
Collapse file
Copy file name to clipboard +40Lines changed: 40 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +name: dev-frontend-admin-deploy |
| 2 | + |
| 3 | +on: |
| 4 | + push: |
| 5 | + branches: [ dev ] |
| 6 | + paths: 'frontend/admin/**' |
| 7 | + workflow_dispatch: |
| 8 | + |
| 9 | +defaults: |
| 10 | + run: |
| 11 | + working-directory: ./frontend/admin |
| 12 | + |
| 13 | +jobs: |
| 14 | + tag: |
| 15 | + runs-on: ubuntu-latest |
| 16 | + steps: |
| 17 | + - uses: actions/checkout@master |
| 18 | + - name: Bump version and push tag |
| 19 | + |
| 20 | + with: |
| 21 | + github_token: ${{ secrets.GITHUB_TOKEN }} |
| 22 | + tag_prefix: admin |
| 23 | + build: |
| 24 | + needs: tag |
| 25 | + environment: dev |
| 26 | + runs-on: ubuntu-latest |
| 27 | + steps: |
| 28 | + - name: checkout |
| 29 | + uses: actions/checkout@v2 |
| 30 | + # Deploy |
| 31 | + - name: Deploy dev to Vercel |
| 32 | + uses: amondnet/vercel-action@v19 |
| 33 | + id: vercel-action-staging |
| 34 | + with: |
| 35 | + github-token: ${{ secrets.GITHUB_TOKEN }} |
| 36 | + vercel-org-id: ${{ secrets.VERCEL_ORG_ID }} |
| 37 | + vercel-project-id: ${{ secrets.VERCEL_PROJECT_ID }} |
| 38 | + vercel-token: ${{ secrets.VERCEL_TOKEN }} |
| 39 | + vercel-args: '--prod' |
| 40 | + working-directory: ./frontend/admin |
Collapse file
Copy file name to clipboard +40Lines changed: 40 additions & 0 deletions | Original file line number | Diff line number | Diff line change |
|---|
|
| 1 | +name: dev-frontend-main-deploy |
| 2 | + |
| 3 | +on: |
| 4 | + push: |
| 5 | + branches: [ dev ] |
| 6 | + paths: 'frontend/main/**' |
| 7 | + workflow_dispatch: |
| 8 | + |
| 9 | +defaults: |
| 10 | + run: |
| 11 | + working-directory: ./frontend/main |
| 12 | + |
| 13 | +jobs: |
| 14 | + tag: |
| 15 | + runs-on: ubuntu-latest |
| 16 | + steps: |
| 17 | + - uses: actions/checkout@master |
| 18 | + - name: Bump version and push tag |
| 19 | + |
| 20 | + with: |
| 21 | + github_token: ${{ secrets.GITHUB_TOKEN }} |
| 22 | + tag_prefix: main |
| 23 | + deploy: |
| 24 | + needs: tag |
| 25 | + environment: dev |
| 26 | + runs-on: ubuntu-latest |
| 27 | + steps: |
| 28 | + - name: checkout |
| 29 | + uses: actions/checkout@v2 |
| 30 | + # Deploy |
| 31 | + - name: Deploy dev to Vercel |
| 32 | + uses: amondnet/vercel-action@v19 |
| 33 | + id: vercel-action-staging |
| 34 | + with: |
| 35 | + github-token: ${{ secrets.GITHUB_TOKEN }} |
| 36 | + vercel-org-id: ${{ secrets.VERCEL_ORG_ID }} |
| 37 | + vercel-project-id: ${{ secrets.VERCEL_PROJECT_ID }} |
| 38 | + vercel-token: ${{ secrets.VERCEL_TOKEN }} |
| 39 | + vercel-args: '--prod' |
| 40 | + working-directory: ./frontend/main |
Collapse file
Copy file name to clipboardExpand all lines: .github/workflows/dev-main-build.yml -65Lines changed: 0 additions & 65 deletions