mirror of
https://github.com/by-jp/www.byjp.me.git
synced 2025-08-10 02:26:08 +01:00
Come back to figuring out why syndication is broken
This commit is contained in:
parent
740332509d
commit
87a22651d5
1 changed files with 20 additions and 20 deletions
40
.github/workflows/publish.yml
vendored
40
.github/workflows/publish.yml
vendored
|
@ -62,26 +62,26 @@ jobs:
|
||||||
--cacheDir /tmp/hugo/cache \
|
--cacheDir /tmp/hugo/cache \
|
||||||
--minify \
|
--minify \
|
||||||
--baseURL "https://www.byjp.me"
|
--baseURL "https://www.byjp.me"
|
||||||
- name: Syndicate
|
# - name: Syndicate
|
||||||
env:
|
# env:
|
||||||
INSTAGRAM_PASSWORD: ${{ secrets.INSTAGRAM_PASSWORD }}
|
# INSTAGRAM_PASSWORD: ${{ secrets.INSTAGRAM_PASSWORD }}
|
||||||
INSTAGRAM_TOTP: ${{ secrets.INSTAGRAM_TOTP }}
|
# INSTAGRAM_TOTP: ${{ secrets.INSTAGRAM_TOTP }}
|
||||||
PIXELFED_ACCESS_TOKEN: ${{ secrets.PIXELFED_ACCESS_TOKEN }}
|
# PIXELFED_ACCESS_TOKEN: ${{ secrets.PIXELFED_ACCESS_TOKEN }}
|
||||||
run: |
|
# run: |
|
||||||
cd tools/syndicate
|
# cd tools/syndicate
|
||||||
go mod download
|
# go mod download
|
||||||
go run .
|
# go run .
|
||||||
if git diff-index --quiet HEAD; then
|
# if git diff-index --quiet HEAD; then
|
||||||
echo "No syndication changes made"
|
# echo "No syndication changes made"
|
||||||
else
|
# else
|
||||||
echo "Committing syndication changes"
|
# echo "Committing syndication changes"
|
||||||
git config --global user.email "github-actions[bot]@users.noreply.github.com"
|
# git config --global user.email "github-actions[bot]@users.noreply.github.com"
|
||||||
git config --global user.name "Syndicate[bot]"
|
# git config --global user.name "Syndicate[bot]"
|
||||||
git commit -am "Syndicated post references"
|
# git commit -am "Syndicated post references"
|
||||||
git push
|
# git push
|
||||||
# TODO: Do not upload, but without failing the build
|
# # TODO: Do not upload, but without failing the build
|
||||||
exit 1
|
# exit 1
|
||||||
fi
|
# fi
|
||||||
- name: Build search index
|
- name: Build search index
|
||||||
run: |
|
run: |
|
||||||
# Build the search index
|
# Build the search index
|
||||||
|
|
Loading…
Reference in a new issue