diff options
author | XhmikosR <xhmikosr@gmail.com> | 2022-03-06 16:43:59 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-06 16:43:59 +0300 |
commit | bc5461e612bfc6e639357ed8a8e5fdd935a8d832 (patch) | |
tree | 051774753e897ed11d96629d68154866da774b3f | |
parent | c89e9048bde910713359d83b6621576ccc92cb29 (diff) |
Update CI (#262)
* add `workflow_dispatch`
* update actions/upload-artifact@v3 and actions/download-artifact@v3
-rw-r--r-- | .github/workflows/ci.yml | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5aee5015..65d6cce8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -5,6 +5,7 @@ on: branches-ignore: - "dependabot/**" pull_request: + workflow_dispatch: env: FORCE_COLOR: 2 @@ -21,7 +22,7 @@ jobs: - name: Set up Node.js uses: actions/setup-node@v3 with: - node-version: "${{ env.NODE }}" + node-version: ${{ env.NODE }} cache: npm - run: java -version @@ -33,7 +34,7 @@ jobs: run: npm test - name: Upload docs - uses: actions/upload-artifact@v2 + uses: actions/upload-artifact@v3 if: github.repository == 'twbs/blog' && github.ref == 'refs/heads/main' with: name: docs @@ -50,7 +51,7 @@ jobs: uses: actions/checkout@v3 - name: Download docs - uses: actions/download-artifact@v2 + uses: actions/download-artifact@v3 with: name: docs path: ./_site/ |