Skip to content

Update 2024-07-23-collaborations-epic-eic.md #325

Update 2024-07-23-collaborations-epic-eic.md

Update 2024-07-23-collaborations-epic-eic.md #325

name: Dispatch Preview Update
on:
push:
branches: [development]
jobs:
dispatch:
runs-on: ubuntu-latest
steps:
- name: Setup SSH Keys and known_hosts
uses: webfactory/[email protected]
with:
ssh-private-key: ${{ secrets.DEPLOY_KEY }}
- name: Pull new posts
run: |
git clone --recursive [email protected]:CHTC/article-preview.git
cd article-preview
git config user.name "GitHub Actions"
git config user.email "[email protected]"
git submodule update --remote
git add _posts
git remote -v
git commit -m "Article Submodule Updated"
git push [email protected]:CHTC/article-preview.git