Skip to content

Commit

Permalink
fix: check files 4
Browse files Browse the repository at this point in the history
  • Loading branch information
popovevgen committed Jan 8, 2024
1 parent 0b54ddd commit b441eb6
Showing 1 changed file with 4 additions and 13 deletions.
17 changes: 4 additions & 13 deletions .github/workflows/deploy-staging.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ name: 'Deploy to staging'
on:
workflow_dispatch:
push:
branches:
- main
branches:
- main

jobs:
frontend-build-and-deploy:
Expand All @@ -20,24 +20,15 @@ jobs:
VERCEL_SCOPE: 1212evgen

steps:
- name: 'Generate Github token'
uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: ${{ secrets.APP_ID }}
private-key: ${{ secrets.PRIVATE_KEY }}

- name: 'Checkout'
uses: actions/checkout@v4
with:
token: ${{ steps.app-token.outputs.token }}

- name: 'Setup Node.js v20'
uses: actions/setup-node@v4
with:
node-version: 20

- name: 'Install dependencies'
- name: 'Install Vercel CLI'
run: |
npm install --global \
vercel@33 \
Expand All @@ -47,7 +38,7 @@ jobs:
@semantic-release/exec@6 \
conventional-changelog-conventionalcommits@7 \
- name: 'Pull Vercel project settings'
- name: 'Pull Vercel Environment Information'
run: vercel pull --environment=production --yes --token=${{ secrets.VERCEL_TOKEN }} --scope=${{ env.VERCEL_SCOPE }}

- name: 'Build project artifacts'
Expand Down

0 comments on commit b441eb6

Please sign in to comment.