🐛 optional 스키마를 nullish로 대응 #39
This file contains hidden or 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: 🚀 조직 레포 > fork 레포 (Vercel 배포) | |
| on: | |
| push: | |
| branches: ['main'] | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout code | |
| uses: actions/checkout@v4 | |
| with: | |
| fetch-depth: 0 | |
| persist-credentials: false | |
| - name: Create and copy files | |
| run: | | |
| mkdir -p output | |
| cp -R ./* ./.[^.]* output/ 2>/dev/null || : | |
| rm -rf output/output | |
| - name: Pushes to another repository | |
| uses: cpina/github-action-push-to-another-repository@main | |
| env: | |
| API_TOKEN_GITHUB: ${{ secrets.GH_TOKEN }} | |
| with: | |
| source-directory: 'output' | |
| destination-github-username: fecapark | |
| destination-repository-name: slack-archive-client | |
| user-email: ${{ secrets.USER_EMAIL }} | |
| user-name: fecapark | |
| commit-message: ${{ github.event.commits[0].message }} | |
| target-branch: main |