Move styles into src/ #4
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
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - uses: actions/setup-node@v3 | |
| with: | |
| node-version: 24 | |
| - run: npm ci | |
| - run: node scripts/fetch-medium.js | |
| - run: npm run build | |
| - name: Deploy main branch | |
| if: github.ref_name == 'main' | |
| uses: peaceiris/actions-gh-pages@v3 | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| publish_dir: ./dist | |
| commit_message: "Deploy main branch" | |
| - name: Deploy astro-redesign branch | |
| if: github.ref_name == 'astro-redesign' | |
| uses: peaceiris/actions-gh-pages@v3 | |
| with: | |
| github_token: ${{ secrets.GITHUB_TOKEN }} | |
| publish_dir: ./dist | |
| destination_dir: astro-redesign | |
| commit_message: "Deploy astro-redesign branch" |