We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
surge.sh
1 parent 4cc05da commit 57a4bb2Copy full SHA for 57a4bb2
1 file changed
.github/workflows/main.yml
@@ -46,13 +46,10 @@ jobs:
46
cache: 'yarn'
47
- run: yarn install --frozen-lockfile
48
- run: yarn nx build site --configuration=production --skip-nx-cache
49
- - uses: garygrossgarten/github-action-scp@release
+ - run: cp ./dist/packages/site/index.html ./dist/packages/site/200.html
50
+ - uses: dswistowski/surge-sh-action@v1
51
with:
- local: './dist/packages/site'
52
- remote: '/usr/local/nginx/html/react-devui.com'
53
- host: ${{ secrets.SSH_HOST }}
54
- port: ${{ secrets.SSH_PORT }}
55
- username: ${{ secrets.SSH_USER }}
56
- password: ${{ secrets.SSH_PASSWORD }}
57
- rmRemote: true
58
- dotfiles: true
+ domain: 'react-devui.surge.sh'
+ project: './dist/packages/site'
+ login: ${{ secrets.SURGE_LOGIN }}
+ token: ${{ secrets.SURGE_TOKEN }}
0 commit comments