Skip to content

2FA認証の実装(Google Authenticator) (#135) #104

2FA認証の実装(Google Authenticator) (#135)

2FA認証の実装(Google Authenticator) (#135) #104

Workflow file for this run

name: Deploy
on:
push:
branches: [ "main" ]
jobs:
deploy:
name: deploy
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
- name: Deploy
run: |
echo "${{ secrets.EC2_SSH_KEY }}" > ssh_key
chmod 600 ssh_key
ssh -oStrictHostKeyChecking=no -i ssh_key [email protected] "cd /home/ubuntu/pong && git fetch --all && git checkout ${{ github.sha }} && make prod"