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

Feat toc fixing visual issues plus merge main #7305

Open
wants to merge 165 commits into
base: feat-toc
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
165 commits
Select commit Hold shift + click to select a range
b78026e
fix(auth): handle null SAML authnContext context
NGPixel Jun 9, 2022
97a7445
feat(mail): allow setting of mailer identifying name (#5363)
davwheat Jun 11, 2022
046e4b9
fix(graphql): remove required flag on MailConfig schema
NGPixel Jun 11, 2022
1e57773
fix(mail): typo in admin mail save mutation
NGPixel Jun 11, 2022
18f9165
fix(graphql): add missing admin mail name variable to save mutation
NGPixel Jun 11, 2022
0425b82
fix(kernel): handle SIGTERM graceful shutdown
NGPixel Jun 17, 2022
0a1bc70
ci: add telegram notify to build release workflow
NGPixel Jun 20, 2022
56457c8
ci: add test telegram notify workflow
NGPixel Jun 20, 2022
8609b3f
ci: update test telegram workflow
NGPixel Jun 20, 2022
acf89cb
ci: update test telegram workflow
NGPixel Jun 20, 2022
c37c34a
ci: fix telegram notify on build release workflow
NGPixel Jun 20, 2022
a6d6deb
docs: add telegram badge to README
NGPixel Jun 20, 2022
81ad894
ci: add discord notification on release
NGPixel Jun 23, 2022
e38b070
docs: update README with discord link
NGPixel Jun 24, 2022
18ac9da
docs: update README
NGPixel Jun 24, 2022
48077fc
feat(admin): make page extensions configurable
NGPixel Jun 25, 2022
4f2dd36
feat(helm): expose DATABASE_URL (#5445)
dnplkndll Jul 5, 2022
dffffd3
fix(helm): allow self-signed ssl (#5446)
dnplkndll Jul 6, 2022
628c72e
feat: CAS authentication module (#5452)
SeaLife Jul 16, 2022
e78953d
fix(admin): update admin groups page rules write:pages label to match…
NGPixel Jul 19, 2022
85c920f
docs: update BACKERS
NGPixel Jul 21, 2022
0e123a6
docs: update BACKERS
NGPixel Aug 2, 2022
6943524
docs: update README
NGPixel Aug 6, 2022
933293a
feat: add elasticsearch ssl options (#5499)
Hexaflexagon Aug 6, 2022
fdeb4a4
docs: update BACKERS
NGPixel Aug 13, 2022
4e5da41
fix: page cursor and pagination (#5541)
sandhya-veludandi Aug 14, 2022
8290e86
feat: add logout for auth0 (#5545)
pselle Aug 16, 2022
fb9e37f
docs: update CONTRIBUTING.md (#5603)
derlucas Sep 4, 2022
31bd327
fix: correct azure blob storage typo (#5591)
jaredbrogan Sep 4, 2022
91221e7
feat: set groups based on OIDC claim (#5568)
fionera Sep 5, 2022
665284b
docs: update BACKERS
NGPixel Sep 5, 2022
4b30050
fix: prevent user enumeration using local login timings
NGPixel Sep 17, 2022
ebf4da9
fix: oidc auth groups relate / unrelate
NGPixel Sep 17, 2022
fa35f3a
fix: footer text overflow on smaller desktop screens
NGPixel Sep 19, 2022
8715cd6
feat: edit shortcuts
NGPixel Sep 20, 2022
574a18f
docs: update BACKERS
NGPixel Sep 21, 2022
26aa23c
docs: update BACKERS
NGPixel Sep 21, 2022
1fcb946
docs: update README
NGPixel Sep 23, 2022
274ecf4
fix: America/Sao_Paulo timezone offset (#5690)
ecarruda Sep 30, 2022
15206ef
fix: comment edit not updating original content (#5646)
adroslice Oct 2, 2022
485e99c
docs: update BACKERS
NGPixel Oct 3, 2022
17c11b3
fix: typo in letsencrypt.js logging output (#5712)
cleaverm Oct 4, 2022
cf7abea
chore(helm): add loadBalancerIP param (#5704)
vampire-yuta Oct 4, 2022
db0255c
fix: add missing scriptJs and scriptCss to single page resolver (#5689)
rrg92 Oct 17, 2022
98e199a
docs: update BACKERS
NGPixel Oct 18, 2022
e6bbf9d
fix: oidc module - map() call on undefined; fix unrelate() usage (#5781)
asenchuk Oct 25, 2022
bc6d159
docs: update BACKERS
NGPixel Oct 26, 2022
1bb9be0
fix: admin contribute link address. (#5791)
JiuLing-zhang Oct 27, 2022
6857937
docs: update BACKERS
NGPixel Oct 27, 2022
504f172
chore: update dependencies
NGPixel Oct 30, 2022
1893fd4
fix: login with Keycloak 20 by explicit set OAuth scopes (#5808)
silicht Nov 7, 2022
2cb3041
fix: Page Rules based on Tag Matches do not work for comment permissi…
natsutteatsuiyone Nov 7, 2022
445ad05
fix: incompatibility issues with [email protected] (#5799)
natsutteatsuiyone Nov 7, 2022
d98e0b3
chore: rollback azure blob module to 12.9
NGPixel Nov 8, 2022
9fbc25a
feat: improve table rendering + add markdown-it-decorate module
NGPixel Nov 9, 2022
f77c695
chore: set windows build node to 16.x
NGPixel Nov 9, 2022
fff7f10
ci: add purge droplet-agent to DO packer script
NGPixel Nov 9, 2022
701567b
ci: add DO img-check script to packer
NGPixel Nov 9, 2022
3579f9e
ci: purge do agent directory from do packer image
NGPixel Nov 9, 2022
dc90e0b
docs: add MacStadium sponsor mention
NGPixel Nov 10, 2022
db2ad81
feat: katex persistent macro support (#5838)
cannorin Nov 13, 2022
d10f2a1
feat: send UPGRADE_COMPANION_REF in automated upgrade call
NGPixel Nov 18, 2022
86c9407
feat: add umami analytics module (#5869)
cdn0x12 Nov 18, 2022
0a2a32d
feat: add artalk comment module (#5868)
cdn0x12 Nov 18, 2022
ca2f7aa
chore: add css classes on page sidebar cards
NGPixel Nov 19, 2022
037dc3c
docs: update BACKERS
NGPixel Nov 22, 2022
143c6db
docs: update BACKERS
NGPixel Nov 24, 2022
73af37b
fix: git log should explicitly separate branch from paths (#5911)
Dec 2, 2022
9ac80c1
docs: update BACKERS
NGPixel Dec 8, 2022
f3133a7
feat: toc sidebar position
NGPixel Dec 10, 2022
eb99f82
fix: edit buttons hidden when toc sidebar is on the right
NGPixel Dec 10, 2022
c91ff2d
feat: add page-ready client boot event
NGPixel Dec 10, 2022
d6d88ed
fix: edit buttons header alignment when toc sidebar is on the right
NGPixel Dec 11, 2022
eadefb8
fix: sideloading locales should import availabilities (#5973)
topdev-spetermann Dec 21, 2022
54dbf9a
feat: add asciidoc editor module (#5954)
dzruyk Dec 24, 2022
41454cf
fix(git): disable color.ui in git storage (#6014)
EricFromCanada Jan 13, 2023
a906f2e
docs: update issue template
NGPixel Jan 13, 2023
9dddef3
docs: remove old issue template
NGPixel Jan 13, 2023
12233c4
feat: enable state key on generic oauth2 (#6104)
Sleuth56 Jan 29, 2023
5f876ce
feat: optional oauth2 module nonce toggle
NGPixel Jan 29, 2023
43a797d
feat: adds displayName property to OIDC authentication module (#6096)
gueldenstone Jan 29, 2023
1da80ea
feat: oauth2 add groups mapping (#6053)
utix Jan 29, 2023
0d914b0
feat: add singleByPath GraphQL resolver (#6011)
leangseu Jan 30, 2023
8fa771c
feat: set groups based on LDAP groups (#5903)
icsinfo Jan 30, 2023
2e85854
fix(git): handle file renames between folders (#6020)
EricFromCanada Jan 30, 2023
cc96b1f
chore: update dependencies
NGPixel Feb 4, 2023
30b66b1
ci: disable provenance in docker build action
NGPixel Feb 4, 2023
3057614
ci: update build workflow actions
NGPixel Feb 4, 2023
9b99ebb
ci: disable provenance in build workflow
NGPixel Feb 4, 2023
2e3bdb6
ci: fix build arm64 action
NGPixel Feb 4, 2023
ac930fc
fix: change simple-git import
NGPixel Feb 4, 2023
bba1d1b
fix(oidc): use _json prop when setting displayName (#6135)
gueldenstone Feb 8, 2023
26dcc00
fix: sort visualize tree (#6110)
leangseu Feb 8, 2023
78a35c3
feat: include query parameters in locale redirect (#6132)
dbnicholson Feb 17, 2023
f972a9c
fix: code block styling in blockquotes (#6108)
Nyxtorm Feb 17, 2023
e954b50
feat: footer text override option
NGPixel Feb 17, 2023
e495e0a
fix: update google analytics field help to refer to the new ID format
NGPixel Feb 17, 2023
490fab1
fix: handle empty ToC position value
NGPixel Feb 17, 2023
3a0ec8d
docs: update BACKERS
NGPixel Feb 18, 2023
26b2839
docs: update BACKERS
NGPixel Mar 8, 2023
12d777f
feat(helm): allows setting the NODE_EXTRA_CA_CERTS variable (#6217)
dostalradim Mar 11, 2023
b9326df
docs(helm): Correct spelling mistake in comment (#6202)
bdsoha Mar 11, 2023
db4d558
docs: update BACKERS
NGPixel Mar 14, 2023
51e5f42
docs: update BACKERS
NGPixel Mar 16, 2023
b5b1913
feat: footer override markdown inline parsing
NGPixel Mar 17, 2023
5acc7e7
fix: add new props to existing auth strategies (#6250)
icsinfo Mar 17, 2023
8db4be6
feat: expose skipUserProfile option in passport-oidc (#6190)
robinho81 Mar 17, 2023
4de461f
fix: make list paragraphs use 100% width (#6273)
pgi-jsanchez Mar 18, 2023
5fb315a
docs: update README.md
NGPixel Mar 24, 2023
ecfbbcc
docs: update README.md
NGPixel Mar 24, 2023
42d5fd6
docs: update BACKERS
NGPixel Mar 27, 2023
f4cf60b
docs: update BACKERS
NGPixel Apr 18, 2023
5b80b5e
docs: update BACKERS
NGPixel Apr 28, 2023
fd00272
feat(auth): allow custom GitLab endpoints for self-managed instances …
DerekJarvis May 12, 2023
e1d282a
feat: warn and exit on unsupported node version
NGPixel May 12, 2023
6fac7a3
docs: update BACEKRS
NGPixel May 13, 2023
e059fbb
docs: update BACKERS
NGPixel May 15, 2023
56547f7
docs: update README.md
NGPixel May 19, 2023
55bd994
docs: update BACKERS
NGPixel May 22, 2023
3bf1d9c
fix: disable template compilation in source view
NGPixel Jun 4, 2023
545ba4e
fix: remove duplicate query parameters on HTTPS redirect (#6460)
kgehmlich Jun 4, 2023
4e5e830
feat: add v2 of analytics module umami (#6442)
Jun 4, 2023
f02b7ba
fix(git): Reduce git concurrency to avoid lock file conflicts. (#6511)
matt1097 Jun 16, 2023
db8a09f
feat: add ACR Value option to OIDC Module (#6553)
dmc6297 Jul 5, 2023
d75fc76
feat: add markdown-it-pivot-table rendering module (#6574)
jaeseopark Jul 28, 2023
3855d2c
fix: add node 18 + 20 compatibility
NGPixel Aug 10, 2023
491d63c
fix(auth): keycloak authentication post logout redirect for Keycloak …
qfluxlab Aug 10, 2023
cae50a7
ci: add patch-package to docker build
NGPixel Aug 10, 2023
eb91563
ci: fix missing patches folder in docker images
NGPixel Aug 10, 2023
095f8ce
ci: fix missing patch-package in windows build
NGPixel Aug 17, 2023
8259f0d
ci: manually patch extract-files package for windows build
NGPixel Aug 18, 2023
cd390ec
docs: update README.md
NGPixel Aug 22, 2023
c18a832
docs: Update README.md
NGPixel Aug 23, 2023
c66bc1c
ci: fix build.yml
NGPixel Sep 1, 2023
7312de7
ci: fix build.yml
NGPixel Sep 1, 2023
2180592
ci: fix build.yml
NGPixel Sep 1, 2023
ef17414
docs: Update README.md
NGPixel Sep 4, 2023
c4c41be
chore: upgrade markdown-it-pivot-table version (#6707)
jaeseopark Sep 7, 2023
4ce301d
docs: Update README.md
NGPixel Sep 20, 2023
b19c4e4
docs: Update README.md
NGPixel Sep 20, 2023
8932d15
fix: typo in kroki name (#6745)
p4block Sep 25, 2023
16245ca
docs: Update README.md
NGPixel Oct 19, 2023
fd91caf
docs: Update README.md
NGPixel Oct 27, 2023
38a46e6
feat: sync groups with SAML provider (#6299)
aelgasser Nov 20, 2023
34c037c
docs: Update README.md
NGPixel Jan 21, 2024
99e74e8
feat: upgrade markdown-it-emoji to 3.0.0 (#6945)
j-tai Jan 23, 2024
b1e1759
fix: set securityTrustProxy to false by default
NGPixel Jan 29, 2024
ece5753
docs: Update README.md
NGPixel Feb 7, 2024
d5af4cb
chore: fix python issue for node18 in dev Dockerfile (#7029)
craph Feb 28, 2024
66ca18c
docs: Update README.md
NGPixel Mar 16, 2024
abdd2f0
fix: remove upper range node.js version check
NGPixel Apr 25, 2024
f54551e
fix: page pagination in tags component (#7061)
xDroni Apr 25, 2024
3a7ce75
refactor(templates): replace `polyfill.io` (#7032)
SukkaW Apr 25, 2024
f1161ae
fix: make comment module "Artalk" work with newer versions (#6901)
Apr 25, 2024
a28b525
docs: Update SECURITY.md
NGPixel Apr 29, 2024
854ec23
ci: Update build.yml
NGPixel Apr 29, 2024
98c04fe
docs: Update README.md
NGPixel Apr 29, 2024
1238d61
Merge pull request from GHSA-xjcj-p2qv-q3rf
Et43 May 13, 2024
904260f
fix: set no-store cache control on jwt renew response
NGPixel May 24, 2024
2e35ebf
docs: Update README.md
NGPixel Jun 14, 2024
d1b4c8c
chore(helm): add pod annotations (#7222)
Mawarii Jun 26, 2024
5a89c46
Merge branch 'main' into feat-toc
TimoKruth Aug 1, 2024
2a659b6
merge completion
TimoKruth Aug 16, 2024
c7842cf
change default true resulting in wiki default and not in site selecti…
TimoKruth Aug 16, 2024
8b5a6ff
fix for firefox icons with keys in for loop; make icons menu down for…
TimoKruth Aug 17, 2024
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
2 changes: 1 addition & 1 deletion .github/CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ It is also always helpful to have some context for your pull request. What was t

Use the feature request board to submit new ideas and vote on which ideas should be integrated first.

:triangular_flag_on_post: [https://wiki.js.org/feedback/](https://wiki.js.org/feedback/)
:triangular_flag_on_post: [https://js.wiki/feedback/](https://js.wiki/feedback/)

*Do not use GitHub issues to submit new feature ideas, as it will closed and you'll be asked to use the feature request board above. GitHub Issues are limited to bugs / issues / help*.

Expand Down
12 changes: 0 additions & 12 deletions .github/ISSUE_TEMPLATE.md

This file was deleted.

3 changes: 0 additions & 3 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,6 @@ contact_links:
- name: Help / Questions
url: https://github.com/Requarks/wiki/discussions/categories/help-questions
about: Ask the community for help on using or setting up Wiki.js
- name: Report a Security Issue
url: https://github.com/Requarks/wiki/security/policy
about: Privately report security issues so they can be addressed quickly.
- name: Errors / Bug Reports
url: https://github.com/Requarks/wiki/discussions/categories/error-bug-report
about: Create a discussion around the bug / error you're getting. If validated, a proper GitHub issue will be created so that it can be worked on.
Expand Down
135 changes: 81 additions & 54 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
packages: write

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Set Build Variables
run: |
Expand All @@ -42,20 +42,20 @@ jobs:
cat package.json

- name: Login to DockerHub
uses: docker/login-action@v1
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Login to GitHub Container Registry
uses: docker/login-action@v1
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Build and push Docker images
uses: docker/build-push-action@v2.9.0
uses: docker/build-push-action@v5
with:
context: .
file: dev/build/Dockerfile
Expand All @@ -77,7 +77,7 @@ jobs:
find _dist/wiki/ -printf "%P\n" | tar -czf wiki-js.tar.gz --no-recursion -C _dist/wiki/ -T -

- name: Upload a Build Artifact
uses: actions/upload-artifact@v2.3.1
uses: actions/upload-artifact@v4
with:
name: drop
path: wiki-js.tar.gz
Expand All @@ -92,7 +92,7 @@ jobs:
dbtype: [postgres, mysql, mariadb, mssql, sqlite]

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Set Test Variables
run: |
Expand Down Expand Up @@ -129,7 +129,7 @@ jobs:
docker: armv7

steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4

- name: Set Version Variables
run: |
Expand All @@ -142,26 +142,26 @@ jobs:
fi

- name: Set up QEMU
uses: docker/setup-qemu-action@v1
uses: docker/setup-qemu-action@v3

- name: Set up Docker Buildx
uses: docker/setup-buildx-action@v1
uses: docker/setup-buildx-action@v3

- name: Login to DockerHub
uses: docker/login-action@v1
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Login to GitHub Container Registry
uses: docker/login-action@v1
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
password: ${{ secrets.GITHUB_TOKEN }}

- name: Download a Build Artifact
uses: actions/download-artifact@v2.1.0
uses: actions/download-artifact@v4
with:
name: drop
path: drop
Expand All @@ -172,11 +172,12 @@ jobs:
tar -xzf $GITHUB_WORKSPACE/drop/wiki-js.tar.gz -C $GITHUB_WORKSPACE/build --exclude=node_modules

- name: Build and push Docker images
uses: docker/build-push-action@v2.9.0
uses: docker/build-push-action@v5
with:
context: .
file: dev/build-arm/Dockerfile
platforms: ${{ matrix.platform }}
provenance: false
push: true
tags: |
requarks/wiki:canary-${{ matrix.docker }}-${{ env.REL_VERSION_STRICT }}
Expand All @@ -189,30 +190,38 @@ jobs:

steps:
- name: Setup Node.js environment
uses: actions/setup-node@v2.5.1
uses: actions/setup-node@v4
with:
node-version: 12.x
node-version: 18.x

- name: Download a Build Artifact
uses: actions/download-artifact@v2.1.0
uses: actions/download-artifact@v4
with:
name: drop
path: drop

- name: Extract Build
run: |
mkdir -p win
tar -xzf $env:GITHUB_WORKSPACE\drop\wiki-js.tar.gz -C $env:GITHUB_WORKSPACE\win --exclude=node_modules
tar -xzf $env:GITHUB_WORKSPACE\drop\wiki-js.tar.gz -C $env:GITHUB_WORKSPACE\win
Copy-Item win\node_modules\extract-files\package.json patch-extractfile.json -Force
Remove-Item -Path win\node_modules -Force -Recurse

- name: Install Dependencies
run: yarn --production --frozen-lockfile --non-interactive
run: |
yarn --production --frozen-lockfile --non-interactive
yarn patch-package
working-directory: win

- name: Fix patched packages
run: |
Copy-Item patch-extractfile.json win\node_modules\extract-files\package.json -Force

- name: Create Bundle
run: tar -czf wiki-js-windows.tar.gz -C $env:GITHUB_WORKSPACE\win .

- name: Upload a Build Artifact
uses: actions/upload-artifact@v2.3.1
uses: actions/upload-artifact@v4
with:
name: drop-win
path: wiki-js-windows.tar.gz
Expand All @@ -232,13 +241,13 @@ jobs:
echo "REL_VERSION_STRICT=${GITHUB_REF_NAME#?}" >> $GITHUB_ENV

- name: Login to DockerHub
uses: docker/login-action@v1
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Login to GitHub Container Registry
uses: docker/login-action@v1
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
Expand Down Expand Up @@ -273,13 +282,13 @@ jobs:
echo "REL_VERSION_STRICT=${GITHUB_REF_NAME#?}" >> $GITHUB_ENV

- name: Login to DockerHub
uses: docker/login-action@v1
uses: docker/login-action@v3
with:
username: ${{ secrets.DOCKERHUB_USERNAME }}
password: ${{ secrets.DOCKERHUB_TOKEN }}

- name: Login to GitHub Container Registry
uses: docker/login-action@v1
uses: docker/login-action@v3
with:
registry: ghcr.io
username: ${{ github.repository_owner }}
Expand Down Expand Up @@ -319,13 +328,13 @@ jobs:
docker manifest push -p ghcr.io/requarks/wiki:latest

- name: Download Linux Build
uses: actions/download-artifact@v2.1.0
uses: actions/download-artifact@v4
with:
name: drop
path: drop

- name: Download Windows Build
uses: actions/download-artifact@v2.1.0
uses: actions/download-artifact@v4
with:
name: drop-win
path: drop-win
Expand All @@ -339,17 +348,18 @@ jobs:
writeToFile: false

- name: Update GitHub Release
uses: ncipollo/release-action@v1
uses: ncipollo/release-action@v1.12.0
with:
allowUpdates: true
draft: false
makeLatest: true
name: ${{ github.ref_name }}
body: ${{ steps.changelog.outputs.changes }}
token: ${{ github.token }}
artifacts: 'drop/wiki-js.tar.gz,drop-win/wiki-js-windows.tar.gz'

- name: Notify Slack Releases Channel
uses: slackapi/slack-github-action@v1.18.0
uses: slackapi/slack-github-action@v1.26.0
with:
payload: |
{
Expand All @@ -359,29 +369,46 @@ jobs:
SLACK_WEBHOOK_URL: ${{ secrets.SLACK_WEBHOOK_URL }}
SLACK_WEBHOOK_TYPE: INCOMING_WEBHOOK

build-do-image:
name: Build DigitalOcean Image
runs-on: ubuntu-latest
needs: [release]

steps:
- uses: actions/checkout@v2

- name: Set Version Variables
run: |
echo "Using TAG mode: $GITHUB_REF_NAME"
echo "REL_VERSION_STRICT=${GITHUB_REF_NAME#?}" >> $GITHUB_ENV

- name: Install Packer
run: |
curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo apt-key add -
sudo apt-add-repository "deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main"
sudo apt-get update && sudo apt-get install packer

- name: Build Droplet Image
env:
DIGITALOCEAN_API_TOKEN: ${{ secrets.DO_TOKEN }}
WIKI_APP_VERSION: ${{ env.REL_VERSION_STRICT }}
working-directory: dev/packer
run: |
packer build digitalocean.json
- name: Notify Telegram Channel
uses: appleboy/[email protected]
with:
to: ${{ secrets.TELEGRAM_TO }}
token: ${{ secrets.TELEGRAM_TOKEN }}
format: markdown
disable_web_page_preview: true
message: |
Wiki.js *${{ github.ref_name }}* has been released!
See [release notes](https://github.com/requarks/wiki/releases) for details.

- name: Notify Discord Channel
uses: sebastianpopp/[email protected]
with:
webhook: ${{ secrets.DISCORD_WEBHOOK }}
message: Wiki.js ${{ github.ref_name }} has been released! See https://github.com/requarks/wiki/releases for details.

# build-do-image:
# name: Build DigitalOcean Image
# runs-on: ubuntu-latest
# needs: [release]

# steps:
# - uses: actions/checkout@v4

# - name: Set Version Variables
# run: |
# echo "Using TAG mode: $GITHUB_REF_NAME"
# echo "REL_VERSION_STRICT=${GITHUB_REF_NAME#?}" >> $GITHUB_ENV

# - name: Install Packer
# run: |
# curl -fsSL https://apt.releases.hashicorp.com/gpg | sudo apt-key add -
# sudo apt-add-repository "deb [arch=amd64] https://apt.releases.hashicorp.com $(lsb_release -cs) main"
# sudo apt-get update && sudo apt-get install packer

# - name: Build Droplet Image
# env:
# DIGITALOCEAN_API_TOKEN: ${{ secrets.DO_TOKEN }}
# WIKI_APP_VERSION: ${{ env.REL_VERSION_STRICT }}
# working-directory: dev/packer
# run: |
# packer build digitalocean.json
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v12.16.3
v18.17.1
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"vue"
],
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
"source.fixAll.eslint": "explicit"
},
"i18n-ally.localesPaths": [
"server/locales"
Expand Down
Loading