-
Notifications
You must be signed in to change notification settings - Fork 58
5.2 updates #280
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
Merged
Merged
5.2 updates #280
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
b0c941a
Version number bump
fekete-robert 1ca7457
Image versions update
fekete-robert bef9314
Adds Workflow file
fekete-robert 75e31f8
Whatsnew draft
fekete-robert 00243dc
Updates fluentbit_types
fekete-robert 0a846ab
Update content/docs/image-versions.md
fekete-robert 96edc20
Update content/docs/image-versions.md
fekete-robert 584080e
Update content/docs/image-versions.md
fekete-robert 1ba1dbf
Update content/docs/image-versions.md
fekete-robert 2484762
Review fixes
fekete-robert File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,86 @@ | ||
name: Publish version 5.2 | ||
|
||
env: | ||
doc_versionnumber: "5.2" | ||
|
||
on: | ||
push: | ||
branches: | ||
- release-5.2 | ||
workflow_dispatch: | ||
|
||
jobs: | ||
build: | ||
name: Build | ||
runs-on: ubuntu-latest | ||
|
||
permissions: | ||
contents: write | ||
pages: write | ||
id-token: write | ||
|
||
concurrency: | ||
group: "pages" | ||
cancel-in-progress: false | ||
|
||
environment: | ||
name: github-pages-test | ||
url: ${{ steps.deployment.outputs.page_url }} | ||
|
||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | ||
with: | ||
ref: release-5.2 | ||
submodules: 'recursive' | ||
|
||
- name: Set up Pages | ||
id: pages | ||
uses: actions/configure-pages@1f0c5cde4bc74cd7e1254d0cb4de8d49e9068c7d # v4.0.0 | ||
|
||
- name: Set up Hugo | ||
uses: peaceiris/actions-hugo@75d2e84710de30f6ff7268e08f310b60ef14033f # v3.0.0 | ||
with: | ||
hugo-version: '0.110.0' | ||
extended: true | ||
|
||
- name: Set up Node | ||
uses: actions/setup-node@1d0ff469b7ec7b3cb9d8673fde0c81c44821de2a # v4.2.0 | ||
with: | ||
node-version: 18 | ||
|
||
- name: Install dependencies | ||
run: | | ||
cd themes/docsy | ||
npm install | ||
|
||
- name: Set up PostCSS | ||
run: npm install --save-dev autoprefixer postcss-cli postcss | ||
|
||
- name: Build | ||
run: hugo --environment production --baseURL ${{ steps.pages.outputs.base_url }}/${{ env.doc_versionnumber }}/ | ||
|
||
# - name: Upload artifact | ||
# uses: actions/upload-pages-artifact@64bcae551a7b18bcb9a09042ddf1960979799187 # v1.0.8 | ||
# with: | ||
# path: ./public/ | ||
|
||
- name: Checkout code to update | ||
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | ||
with: | ||
ref: 'gh-pages-test' | ||
path: 'tmp/gh-pages' | ||
# - name: Display file structure | ||
# run: ls -R | ||
- name: Copy built site to GH pages | ||
run: | | ||
rm -rf tmp/gh-pages/${{ env.doc_versionnumber }} | ||
mkdir -p tmp/gh-pages/${{ env.doc_versionnumber }} | ||
mv public/* tmp/gh-pages/${{ env.doc_versionnumber }} | ||
- name: Commit & Push changes | ||
uses: actions-js/push@master | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
message: 'Publish updated docs for ${{ env.doc_versionnumber }}, ${{ github.event.repository.pushed_at}}' | ||
branch: 'gh-pages-test' | ||
directory: 'tmp/gh-pages' |
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
This file contains hidden or 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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.