github actions
Actions
name: GitHub Pages on: push: branches: - main # Set a branch name to trigger deployment pull_request: jobs: deploy: runs-on: ubuntu-20.04 concurrency: group: ${{ github.workflow }}-${{ github.ref }} steps: - name: Checkout source code uses: actions/checkout@v2 - name: Use oxr463/setup-leiningen uses: oxr463/[email protected] with: exec: lein run - name: Deploy uses: peaceiris/actions-gh-pages@v3 if: ${{ github.ref == 'refs/heads/main' }} with: deploy_key: ${{ secrets.ACTIONS_DEPLOY_KEY }} publish_dir: ./public cname: c.jace.link force_orphan: true user_name: 'github-actions[bot]' user_email: 'github-actions[bot]@users.noreply.github.com'
Error
a step cannot have both the `uses` and `run` keys
Links
관련 문서
Plugin Backlinks: 아무 것도 없습니다.