diff --git a/.github/workflows/publish-docs.yml b/.github/workflows/release-docs.yml similarity index 94% rename from .github/workflows/publish-docs.yml rename to .github/workflows/release-docs.yml index e54118a..0d130be 100644 --- a/.github/workflows/publish-docs.yml +++ b/.github/workflows/release-docs.yml @@ -1,4 +1,4 @@ -name: Publish documentation to GitHub Pages +name: Release docs on: push: @@ -17,7 +17,7 @@ concurrency: cancel-in-progress: true jobs: - publish-docs: + release-docs: environment: name: github-pages url: ${{ steps.pages.outputs.page_url }} diff --git a/.github/workflows/test-docs.yml b/.github/workflows/test-docs.yml index 08972db..0c53cfe 100644 --- a/.github/workflows/test-docs.yml +++ b/.github/workflows/test-docs.yml @@ -6,7 +6,7 @@ on: - 'feature/**' jobs: - test-nodejs: + test-docs: runs-on: ubuntu-latest steps: diff --git a/init.sh b/init.sh index b8ca0d1..8fdb175 100755 --- a/init.sh +++ b/init.sh @@ -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" } diff --git a/tests/scaffold/_assert_init.bash b/tests/scaffold/_assert_init.bash index 4864168..46e5469 100644 --- a/tests/scaffold/_assert_init.bash +++ b/tests/scaffold/_assert_init.bash @@ -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" @@ -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"