feat(dart_frog_cli): allow pass through of arguments (#1630) #274
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
name: deploy | |
on: | |
push: | |
paths: | |
- ".github/workflows/docs.yaml" | |
- "docs/**" | |
branches: | |
- main | |
jobs: | |
deploy: | |
name: Deploy to GitHub Pages | |
runs-on: ubuntu-latest | |
defaults: | |
run: | |
working-directory: docs | |
steps: | |
- name: 📚 Git Checkout | |
uses: actions/checkout@v4 | |
- name: ⚙️ Setup Node | |
uses: actions/setup-node@v4 | |
with: | |
node-version: 18.x | |
cache: yarn | |
cache-dependency-path: docs/yarn.lock | |
- name: 📦 Install Dependencies | |
run: yarn install --frozen-lockfile | |
- name: ✨ Check Format | |
run: yarn run format:check | |
- name: 🧹 Lint | |
run: yarn run lint | |
- name: 👷 Build website | |
run: yarn build | |
- name: ☁️ Deploy to GitHub Pages | |
uses: peaceiris/actions-gh-pages@v4 | |
with: | |
deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }} | |
publish_dir: ./docs/build | |
user_name: github-actions[bot] | |
user_email: 41898282+github-actions[bot]@users.noreply.github.com |