Skip to content

Commit 379312c

Browse files
committed
Revert "Deploy to GitHub Pages"
This reverts commit 065d205.
1 parent a2b7117 commit 379312c

File tree

2 files changed

+12
-30
lines changed

2 files changed

+12
-30
lines changed

.github/workflows/ci.yml

+12-28
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Zola
22

33
on:
44
push:
5-
branches: redesign
5+
branches: source
66
pull_request:
77

88
jobs:
@@ -29,11 +29,11 @@ jobs:
2929
fi
3030
echo "changed_files: $changed_files"
3131
echo "changed_files=$changed_files" >> $GITHUB_OUTPUT
32-
# - name: Lint
33-
# uses: avto-dev/markdown-lint@v1
34-
# with:
35-
# args: '.'
36-
# config: '.markdownlint.json'
32+
- name: Lint
33+
uses: avto-dev/markdown-lint@v1
34+
with:
35+
args: '.'
36+
config: '.markdownlint.json'
3737
- name: Check links
3838
uses: lycheeverse/[email protected]
3939
if: ${{ steps.changed-files.outputs.changed_files != '' }}
@@ -55,26 +55,10 @@ jobs:
5555
curl -L ${BASE_URL}/${VERS}/zola-${VERS}-${ARCH}.tar.gz | tar -xz
5656
echo "Zola version: $(./zola --version)"
5757
- name: Zola build
58-
run: ./zola build --base-url 'https://tau.garden/rust-gamedev.github.io'
59-
- name: Upload GitHub Pages Artifact
60-
uses: actions/upload-pages-artifact@v3
58+
run: ./zola build
59+
- name: Deploy
60+
if: github.ref == 'refs/heads/source'
61+
uses: crazy-max/ghaction-github-pages@v1
6162
with:
62-
path: public/
63-
64-
deploy_pages:
65-
needs: zola
66-
if: github.ref_name == 'redesign'
67-
68-
permissions:
69-
pages: write
70-
id-token: write
71-
72-
environment:
73-
name: github-pages
74-
url: ${{ steps.deployment.outputs.page_url }}
75-
76-
runs-on: ubuntu-24.04
77-
steps:
78-
- name: Deploy to GitHub Pages
79-
id: deployment
80-
uses: actions/deploy-pages@v4
63+
build_dir: public
64+
target_branch: master

templates/robots.txt

-2
This file was deleted.

0 commit comments

Comments
 (0)