Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stuff the multiline string in an envvar #383

Merged
merged 2 commits into from
Mar 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion .github/workflows/auto-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,14 @@ jobs:

- name: Create a release 🔖
uses: actions/github-script@v7
env:
CHANGELOG: ${{ steps.fetch-changelog.outputs.result }}
with:
script: |
await github.rest.repos.createRelease({
owner: context.repo.owner,
repo: context.repo.repo,
tag_name: "${{ steps.fetch-version.outputs.result }}",
name: "${{ steps.fetch-version.outputs.result }}",
body: "${{ steps.fetch-changelog.outputs.result }}"
body: process.env.CHANGELOG,
});
4 changes: 2 additions & 2 deletions .github/workflows/build-pr-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@ jobs:
# The ".." is to go outside the docs directory

- name: Upload the PR number 📤
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: pr_number
path: pr_number.txt

- name: Upload the built docs 📤
uses: actions/upload-artifact@v3
uses: actions/upload-artifact@v4
with:
name: docs
path: docs/__sapper__/export/attractions/${{ github.event.number }}/
2 changes: 1 addition & 1 deletion .github/workflows/deploy-pr-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
run: echo "PR_NUMBER=$(cat pr_number.txt)" >> $GITHUB_ENV

- name: Publish 🚀
uses: peaceiris/actions-gh-pages@4eb285e828117bca26638192c3ed309c622e7bad
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/manual-deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ jobs:
pnpm run export --basepath attractions/${{ github.event.inputs.prefix }}

- name: Publish 🚀
uses: peaceiris/actions-gh-pages@4eb285e828117bca26638192c3ed309c622e7bad
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/__sapper__/export/attractions/${{ github.event.inputs.prefix }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/on-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ jobs:
pnpm run export --basepath attractions

- name: Publish 🚀
uses: peaceiris/actions-gh-pages@4eb285e828117bca26638192c3ed309c622e7bad
uses: peaceiris/actions-gh-pages@v3
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: docs/__sapper__/export/attractions/
Expand Down
Loading