Skip to content

Add experience AnyDay #19

Add experience AnyDay

Add experience AnyDay #19

Workflow file for this run

on:
pull_request:
types: [closed]
workflow_dispatch:
name: "Prepare Gallery Index"
jobs:
prepare-index:
if: github.event.pull_request.merged == true || github.event_name == 'workflow_dispatch'
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
with:
token: ${{ secrets.ANY_CLA_TOKEN }}
- run: |
git config --global user.email "[email protected]"
git config --global user.name "Any Association"
node tools/prepare-index.js
git add .
if ! git diff-index --quiet HEAD; then
git commit -m "Update Gallery Index"
git push origin main
fi