Skip to content

Commit

Permalink
Fix frontend deploy
Browse files Browse the repository at this point in the history
  • Loading branch information
mkg20001 committed Apr 19, 2024
1 parent 20a15d4 commit d83beac
Showing 1 changed file with 6 additions and 14 deletions.
20 changes: 6 additions & 14 deletions .github/workflows/frontend.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,19 +33,11 @@ jobs:
mkdir ./dist
cp -RL ./result/* ./dist/
- name: Deploy to Netlify
uses: nwtgck/[email protected]
- name: Deploy to nixos-search.mgit.at
env:
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
with:
production-branch: 'main'
production-deploy: ${{ github.event_name == 'push' }}
publish-dir: './dist'
github-token: ${{ secrets.GITHUB_TOKEN }}
deploy-message: 'Deploy from GitHub Actions'
enable-pull-request-comment: true
overwrites-pull-request-comment: true
enable-commit-comment: false
enable-commit-status: true
DEPLOY_KEY: ${{ secrets.DEPLOY_KEY }}
run: |
echo "$DEPLOY_KEY" > deploy
chmod 700 deploy
rsync -ravpd --chown nginx:nginx -e"ssh -o StrictHostKeyChecking=no -i deploy" dist/ [email protected]:
if: github.repository_owner == 'mgit-at'

0 comments on commit d83beac

Please sign in to comment.