Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Liudon committed Sep 26, 2024
1 parent 2a72f4c commit 6b2b5c4
Showing 1 changed file with 16 additions and 6 deletions.
22 changes: 16 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ on:
# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
# This workflow contains a single job called "build"
build:
start:
# The type of runner that the job will run on
runs-on: ubuntu-latest

Expand Down Expand Up @@ -47,13 +47,21 @@ jobs:
# unzip cavif-1.5.4.zip
# sudo mv ./linux-generic/cavif /bin
# # find ./content/posts/ -type f \( -name "*.jpg" -o -name "*.png" -o -name "*.jpeg" \) -exec cavif {} \;

- name: Build and Publish Github Pages
uses: ./.github/workflows/gh-pages.yml

- name: Build and Publish IPFS
uses: ./.github/workflows/ipfs.yml
github_pages:
name: Build and Publish Github Pages
uses: ./.github/workflows/gh-pages.yml
needs:
- start

ipfs:
name: Build and Publish IPFS
uses: ./.github/workflows/ipfs.yml
needs:
- start

end:
steps:
- name: Easyindex
run: |
echo '${{ secrets.GOOGLE_INDEXING_API_TOKEN }}' > ./credentials.json
Expand All @@ -66,3 +74,5 @@ jobs:
curl -s -L https://github.com/usk81/easyindex-cli/releases/download/v1.0.6/easyindex-cli_1.0.6_linux_amd64.tar.gz | tar xz
chmod +x ./easyindex-cli
./easyindex-cli google -d -c ./url.csv
needs:
- github_pages

0 comments on commit 6b2b5c4

Please sign in to comment.