Skip to content

Commit

Permalink
Publishing to github
Browse files Browse the repository at this point in the history
  • Loading branch information
root authored and root committed Jun 7, 2024
1 parent c905869 commit 71e29b5
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/tests_qa.yml
Original file line number Diff line number Diff line change
Expand Up @@ -93,5 +93,21 @@ jobs:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: gh-pages

- name: Get GitHub Pages URL
id: pages-url
uses: actions/github-script@v6
with:
script: |
const repo = context.repo.repo;
const owner = context.repo.owner;
const pagesUrl = `https://${owner}.github.io/${repo}`;
core.setOutput('pages_url', pagesUrl);
- name: Output GitHub Pages URL
run: |
echo "GitHub Pages URL: ${{ steps.pages-url.outputs.pages_url }}"
- name: Clean up
run: docker stop $(docker ps -q) || true


0 comments on commit 71e29b5

Please sign in to comment.