[ Common ] 공통 커스텀훅 정리하기 #311
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
on: | |
issues: | |
types: [opened, reopened, closed, deleted] | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
name: "Run github issue notion sync" | |
steps: | |
- uses: actions/checkout@v2 | |
- name: create env file | |
run: | | |
touch .env | |
echo PERSONAL_GITHUB_ACCESS_KEY=${{ secrets.PERSONAL_GITHUB_ACCESS_KEY }} >> .env | |
echo NOTION_KEY=${{ secrets.NOTION_KEY }} >> .env | |
echo NOTION_DATABASE_ID=${{ secrets.NOTION_DATABASE_ID }} >> .env | |
echo REPO_OWNER=${{ secrets.REPO_OWNER }} >> .env | |
echo REPO_NAME=${{ secrets.REPO_NAME }} >> .env | |
- name: docker compose up | |
run: docker-compose --env-file .env up |