We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0af45cc commit 9c974eaCopy full SHA for 9c974ea
1 file changed
.github/workflows/build.yml
@@ -34,19 +34,13 @@ jobs:
34
- name: 🏗️ Run build
35
run: yarn build
36
37
+ - name: 🏷️ Set version
38
+ run: echo ${{ github.sha }} > ./dist/version
39
+
40
- name: 📤 Publish artifacts
41
uses: peaceiris/actions-gh-pages@v4
42
if: github.ref == 'refs/heads/main'
43
with:
44
github_token: ${{ secrets.GITHUB_TOKEN }}
45
publish_branch: artifacts
46
publish_dir: ./dist
-
- - name: 🔗 Trigger parent repo
- if: github.repository == 'lncrawl/lncrawl-web' && github.ref == 'refs/heads/main'
47
- run: |
48
- curl -X POST \
49
- -H "Accept: application/vnd.github+json" \
50
- -H "Authorization: Bearer ${{ secrets.MAIN_REPO_TOKEN }}" \
51
- https://api.github.com/repos/lncrawl/lightnovel-crawler/dispatches \
52
- -d '{"event_type":"web-build-updated"}'
0 commit comments