Build site, not cache it

Signed-off-by: Wachtl Enterprises LLC <tyrolyean@escpe.net>
This commit is contained in:
Wachtl Enterprises LLC 2025-03-16 03:28:18 +01:00
parent c0db46ff9e
commit 4f4e8af19b

View file

@ -16,14 +16,10 @@ jobs:
steps:
- uses: actions/checkout@v4
- run: echo "cache_id=$(date --utc '+%V')" >> $GITHUB_ENV # (3)!
- uses: actions/cache@v4
with:
key: mkdocs-material-${{ env.cache_id }}
path: .cache # (4)!
restore-keys: |
mkdocs-material-
- run: mkdocs build
echo "${{ secrets.SSH_DOCS }}" > ~/.ssh/id_ed25519
echo "web.srv.it-syndikat.org ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHBRXGn/UNvz31QMDm1jqR+97aZ0xy6kQS9wnuDOukET" >> ~/.ssh/known_hosts
chmod -R 700 ~/.ssh
rsync -vva --delete-after site/* deployer@web.srv.it-syndikat.org:/
- name: "Build mkdocs site"
run: |
mkdocs build
echo "${{ secrets.SSH_DOCS }}" > ~/.ssh/id_ed25519
echo "web.srv.it-syndikat.org ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHBRXGn/UNvz31QMDm1jqR+97aZ0xy6kQS9wnuDOukET" >> ~/.ssh/known_hosts
chmod -R 700 ~/.ssh
rsync -vva --delete-after site/* deployer@web.srv.it-syndikat.org:/