Skip to content

Commit

Permalink
Disable nightly and move main page to gh-pages
Browse files Browse the repository at this point in the history
  • Loading branch information
FlareFlo committed Jul 17, 2024
1 parent 9203764 commit 63618b5
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions .github/workflows/rust_master.yml
Original file line number Diff line number Diff line change
Expand Up @@ -87,13 +87,7 @@ jobs:
- name: Download count.js
run: wget "https://gc.zgo.at/count.js" -P dist/

# Create dummy file for successful removal of any file
- name: Create dummy file
run: ssh flareflo-github@${{ secrets.CAVE_IP }} 'cd /var/www/flo_wt_calc; touch placeholder.txt'

# Clean up dist folder before pushing new set
- name: Prepare server for rsync
run: ssh flareflo-github@${{ secrets.CAVE_IP }} 'rm -rf /var/www/flo_wt_calc/*'

- name: Deploy with rsync
run: rsync -avz ./dist/ flareflo-github@${{ secrets.CAVE_IP }}:/var/www/flo_wt_calc/dist
- name: Deploy 🚀
uses: JamesIves/github-pages-deploy-action@v4
with:
folder: dist # The folder the action should deploy.
File renamed without changes.

0 comments on commit 63618b5

Please sign in to comment.