Skip to content

Commit dd20808

Browse files
Main Deployment
Fixed workflow no longer checks for gallery files
1 parent 0ec9e09 commit dd20808

2 files changed

Lines changed: 0 additions & 52 deletions

File tree

.github/scripts/imgListGenerator.py

Lines changed: 0 additions & 20 deletions
This file was deleted.

.github/workflows/deploy.yml

Lines changed: 0 additions & 32 deletions
Original file line numberDiff line numberDiff line change
@@ -6,44 +6,12 @@ on:
66
branches: ["master"]
77

88
permissions:
9-
contents: write
109
pages: write
1110
id-token: write
1211

1312
jobs:
14-
# Page Build Job
15-
build:
16-
runs-on: ubuntu-latest
17-
steps:
18-
- uses: actions/checkout@v4
19-
20-
- name: Run Img Generator Script
21-
run: python3 ./.github/scripts/imgListGenerator.py
22-
23-
- name: Check For Changes
24-
id: check_changes
25-
run: |
26-
if [[ -n "$(git diff --exit-code)" ]]; then
27-
echo "Changes detected."
28-
echo "has_changes=true" >> $GITHUB_OUTPUT
29-
else
30-
echo "No changes detected."
31-
echo "has_changes=false" >> $GITHUB_OUTPUT
32-
fi
33-
34-
- name: Push Changes
35-
if: steps.check_changes.outputs.has_changes == 'true'
36-
run: |
37-
git config --global user.name "${{github.actor}}"
38-
git config --global user.email "${{github.actor}}@users.noreply.github.com"
39-
40-
git add .
41-
git commit -m "GalleryList.json Auto-Generate Job"
42-
git push
43-
4413
# Page Deployment Job
4514
deploy:
46-
needs: build
4715
environment:
4816
name: github-pages
4917
url: ${{ steps.deployment.outputs.page_url }}

0 commit comments

Comments
 (0)