feat: 젬 획득 모션 추가 #193
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Sync with external vault | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
sync: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout main | |
uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
token: ${{ secrets.EXTERNAL_VAULT_TOKEN }} | |
ref: main | |
- name: Add remote url | |
run: | | |
echo "Adding remote URL" | |
git remote add external-vault ${{ secrets.EXTERNAL_VAULT_URL }} | |
git config user.name ${{ secrets.EXTERNAL_VAULT_USERNAME }} | |
git config user.email ${{ secrets.EXTERNAL_VAULT_EMAIL }} | |
- name: Push changes to external-vault | |
run: | | |
echo "Pushing changes to external-vault main branch" | |
git push --force external-vault main | |
- name: Clean up | |
run: | | |
echo "Removing external-vault remote" | |
git remote remove external-vault |