Skip to content

Merge pull request #85 from traP-jp/fix/upsert-file #85

Merge pull request #85 from traP-jp/fix/upsert-file

Merge pull request #85 from traP-jp/fix/upsert-file #85

Workflow file for this run

## gitea に同期するようの actions
name: main
on:
push:
branches:
- 'main'
jobs:
sync:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v2
- name: Set config
run: |
echo "${{ secrets.GITEA_TOKEN }}" > ~/deploy_key.pem
chmod 600 ~/deploy_key.pem
git config --local user.email "github@actions"
git config --local user.name "github"
- name: Push changes
env:
GIT_SSH_COMMAND: ssh -i ~/deploy_key.pem -o StrictHostKeyChecking=no -F /dev/null
run: |
git fetch --unshallow origin
git push -f ssh://[email protected]:2200/hackathon21_Spring_02/back-end.git