Skip to content

FreePalestine-1948 Running Update-Content on FreePalestine1948/PalestineAdvocacyMedia #95

FreePalestine-1948 Running Update-Content on FreePalestine1948/PalestineAdvocacyMedia

FreePalestine-1948 Running Update-Content on FreePalestine1948/PalestineAdvocacyMedia #95

name: Update-Content
run-name: ${{ github.actor }} Running ${{ github.workflow }} on ${{ github.repository }}
on:
schedule:
- cron: "0 0 * * 5"
jobs:
update-content:
runs-on: ubuntu-latest
permissions:
contents: write
steps:
- uses: actions/checkout@v4
- uses: actions/setup-node@v4
with:
node-version: "18"
token: ${{ secrets.GITHUB_TOKEN }}
- run: node .github/actions/update-content.js
- name: Commit and push changes
run: |
git config --global user.email " [email protected]"
git config --global user.name "Github Actions"
git add .
git commit --allow-empty -m "Automated content update"
git push