diff --git a/.forgejo/workflows/deploy.yaml b/.forgejo/workflows/deploy.yaml index 6642b23..cf43f5d 100644 --- a/.forgejo/workflows/deploy.yaml +++ b/.forgejo/workflows/deploy.yaml @@ -3,41 +3,41 @@ jobs: deploy: runs-on: barad-dur steps: - - name: Deploy to anubis.mgk.one - run: echo "Deploying to anubis.mgk.one!" + - name: Deploy to bastet.mgk.one + run: echo "Deploying to bastet.mgk.one!" - name: Update git repo on webserver run: | echo "Updating git repo on webserver." - git -C /srv/sites/anubis.mgk.one/git pull + git -C /srv/sites/bastet.mgk.one/git pull - name: Running project setup for theme hugoplate run: | echo "Running project setup for theme hugoplate." - ssh -o StrictHostKeyChecking=no melkor@barad-dur "cd /srv/sites/anubis.mgk.one/git && npm run project-setup" + ssh -p 42042 -o StrictHostKeyChecking=no melkor@barad-dur "cd /srv/sites/bastet.mgk.one/git && npm run project-setup" - name: Install all npm dependencies run: | echo "Install all npm dependencies." - ssh -o StrictHostKeyChecking=no melkor@barad-dur "cd /srv/sites/anubis.mgk.one/git && npm install" + ssh -p 42042 -o StrictHostKeyChecking=no melkor@barad-dur "cd /srv/sites/bastet.mgk.one/git && npm install" - name: Run update theme script in hugoplate run: | echo "Run update theme script in hugoplate." - ssh -o StrictHostKeyChecking=no melkor@barad-dur "cd /srv/sites/anubis.mgk.one/git && npm run update-theme" + ssh -p 42042 -o StrictHostKeyChecking=no melkor@barad-dur "cd /srv/sites/bastet.mgk.one/git && npm run update-theme" - name: Run hugoplate update-modules run: | echo "Run hugoplate update-modules." - ssh -o StrictHostKeyChecking=no melkor@barad-dur "cd /srv/sites/anubis.mgk.one/git && npm run update-modules" + ssh -p 42042 -o StrictHostKeyChecking=no melkor@barad-dur "cd /srv/sites/bastet.mgk.one/git && npm run update-modules" - name: Compiling hugo site run: | echo "Compiling hugo site." - ssh -o StrictHostKeyChecking=no melkor@barad-dur "cd /srv/sites/anubis.mgk.one/git && npm run build" + ssh -p 42042 -o StrictHostKeyChecking=no melkor@barad-dur "cd /srv/sites/bastet.mgk.one/git && npm run build" - name: Using rsync to copy over the new website from the webserver's git repo run: | echo "Using rsync to copy over the new website from the webserver's git repo." - rsync -av --delete /srv/sites/anubis.mgk.one/git/public/* /srv/sites/anubis.mgk.one/public_html/ + rsync -av --delete /srv/sites/bastet.mgk.one/git/public/* /srv/sites/bastet.mgk.one/public_html/