Skip to content

Commit

Permalink
update github ci
Browse files Browse the repository at this point in the history
  • Loading branch information
marceloexc committed Apr 22, 2024
1 parent d36f969 commit b1ee072
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,3 +39,21 @@ jobs:
env:
DEPLOY_SERVER: ${{ secrets.DEPLOY_SERVER }}
DEPLOY_USERNAME: ${{ secrets.DEPLOY_USERNAME }}

- name: Change URL for CORS on non-SSL mirror Hugo Config
run: sudo rm -rf hugo.toml && mv hugo_infinityfree.toml hugo.toml

- name: Build the website (again)
run: hugo

- name: 🚚 Get latest code
uses: actions/checkout@v4

- name: 📂 Sync files
uses: SamKirkland/[email protected]
with:
server: ftpupload.net
username: ${{ secrets.FTP_USERNAME }}
password: ${{ secrets.FTP_PASSWORD }}
local-dir: public/
server-dir: htdocs/

0 comments on commit b1ee072

Please sign in to comment.