Fix deploy condition #4

Merged
btlogy merged 4 commits from 1.fix-deploy-condition into main 2024-05-23 20:01:02 +00:00
1 changed files with 7 additions and 4 deletions
Showing only changes of commit 5ae5fdf6cd - Show all commits

View File

@ -12,6 +12,13 @@ jobs:
jekyll: jekyll:
runs-on: ubuntu-22.04 runs-on: ubuntu-22.04
steps: steps:
- name: Check environment
id: check_environment
run: |
echo "The job was automatically triggered by a ${{ gitea.event_name }} event."
echo "This job is now running on a ${{ runner.os }} server hosted by Gitea!"
echo "The name of your branch is ${{ github.ref }} and your repository is ${{ gitea.repository }}."
echo "This job's status is ${{ job.status }}."
- name: Check out repository - name: Check out repository
id: checkout id: checkout
uses: actions/checkout@v4 uses: actions/checkout@v4
@ -56,7 +63,3 @@ jobs:
rsync -halvi \ rsync -halvi \
-e "ssh -a -x -o StrictHostKeyChecking=no" \ -e "ssh -a -x -o StrictHostKeyChecking=no" \
./_site/ www@lafs.eval.latfa.net:/var/www/site/ ./_site/ www@lafs.eval.latfa.net:/var/www/site/
- run: echo "🎉 The job was automatically triggered by a ${{ gitea.event_name }} event."
- run: echo "🐧 This job is now running on a ${{ runner.os }} server hosted by Gitea!"
- run: echo "🔎 The name of your branch is ${{ gitea.ref }} and your repository is ${{ gitea.repository }}."
- run: echo "🍏 This job's status is ${{ job.status }}."