Skip to content

Commit

Permalink
Renamed publish-docs to release-docs GHA.
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexSkrypnyk committed Mar 26, 2024
1 parent 877d341 commit e935c60
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Publish documentation to GitHub Pages
name: Release docs

on:
push:
Expand All @@ -17,7 +17,7 @@ concurrency:
cancel-in-progress: true

jobs:
publish-docs:
release-docs:
environment:
name: github-pages
url: ${{ steps.pages.outputs.page_url }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/test-docs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- 'feature/**'

jobs:
test-nodejs:
test-docs:
runs-on: ubuntu-latest

steps:
Expand Down
2 changes: 1 addition & 1 deletion init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ remove_renovate() {
remove_docs() {
rm -Rf docs || true
rm -f .github/workflows/test-docs.yml || true
rm -f .github/workflows/publish-docs.yml || true
rm -f .github/workflows/release-docs.yml || true
remove_string_content_line "\/docs" ".gitattributes"
}

Expand Down
4 changes: 2 additions & 2 deletions tests/scaffold/_assert_init.bash
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@ assert_files_present_docs() {
assert_file_exists "docs/static/README.md"

assert_file_exists ".github/workflows/test-docs.yml"
assert_file_exists ".github/workflows/publish-docs.yml"
assert_file_exists ".github/workflows/release-docs.yml"

assert_file_contains ".gitattributes" "/docs"
assert_file_not_contains ".gitattributes" "# /docs"
Expand All @@ -347,7 +347,7 @@ assert_files_absent_docs() {
assert_dir_not_exists "docs"

assert_file_not_exists ".github/workflows/test-docs.yml"
assert_file_not_exists ".github/workflows/publish-docs.yml"
assert_file_not_exists ".github/workflows/release-docs.yml"

assert_file_not_contains ".gitattributes" "/docs"
assert_file_not_contains ".gitattributes" "# /docs"
Expand Down

0 comments on commit e935c60

Please sign in to comment.