File tree Expand file tree Collapse file tree 3 files changed +2
-2246
lines changed Expand file tree Collapse file tree 3 files changed +2
-2246
lines changed Original file line number Diff line number Diff line change 56
56
PERCY_PARALLEL_NONCE : ${{ env.PERCY_PARALLEL_NONCE }}
57
57
PERCY_PARALLEL_TOTAL : ${{ env.PERCY_PARALLEL_TOTAL }}
58
58
PERCY_TOKEN : ${{ secrets.PERCY_TOKEN }}
59
-
60
-
61
- deploy-app :
62
- name : Deploy app
63
- needs : [lint, test-app]
64
- runs-on : ubuntu-latest
65
- timeout-minutes : 5
66
- # Only run on pushes to main branch that aren't from the cron workflow
67
- if : github.event_name == 'push' && github.ref == 'refs/heads/main'
68
- steps :
69
- - name : Check out a copy of the repo
70
- uses : actions/checkout@v3
71
-
72
- - name : Set a Git user
73
- run : |
74
- # Set a Git user for committing
75
- git config --global user.name "GitHub Actions"
76
- git config --global user.email "actions@users.noreply.github.com"
77
-
78
- # Copy the Git Auth from the local config
79
- git config --global "http.https://github.com/.extraheader" \
80
- "$(git config --local --get http.https://github.com/.extraheader)"
81
-
82
- - name : Use Node.js ${{ env.NODE_VERSION }}
83
- uses : actions/setup-node@v3
84
- with :
85
- cache : ' npm'
86
- node-version : ${{ env.NODE_VERSION }}
87
-
88
- - name : Install dependencies
89
- run : npm install --frozen-lockfile
90
-
91
- - name : Deploy
92
- run : npm run deploy
You can’t perform that action at this time.
0 commit comments