Initialize Allure History #1
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
| name: Initialize Allure History | |
| on: | |
| workflow_dispatch | |
| jobs: | |
| init-allure: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout gh-pages | |
| uses: actions/checkout@v4 | |
| with: | |
| ref: gh-pages | |
| - name: Create basic structure | |
| run: | | |
| mkdir -p allure-history | |
| echo "# Allure Reports History" > allure-history/README.md | |
| date > allure-history/initialized.txt | |
| - name: Commit initial structure | |
| uses: peaceiris/actions-gh-pages@v2 | |
| env: | |
| PERSONAL_TOKEN: ${{ secrets.CI_TOKEN }} | |
| PUBLISH_BRANCH: gh-pages | |
| PUBLISH_DIR: . |