From 3b3780a425b01ad6a58319453f25dcb4aca048cc Mon Sep 17 00:00:00 2001 From: Juliettejns <56683417+Juliettejns@users.noreply.github.com> Date: Wed, 18 Sep 2024 15:50:11 +0200 Subject: [PATCH] Update htmlgenerator.yml --- .github/workflows/htmlgenerator.yml | 17 +++++++---------- 1 file changed, 7 insertions(+), 10 deletions(-) diff --git a/.github/workflows/htmlgenerator.yml b/.github/workflows/htmlgenerator.yml index 66c7092..c19965e 100644 --- a/.github/workflows/htmlgenerator.yml +++ b/.github/workflows/htmlgenerator.yml @@ -7,12 +7,12 @@ on: - main jobs: - create-files: + createFile: runs-on: ubuntu-latest steps: - - name: Checkout code - uses: actions/checkout@v3 + - uses: actions/checkout@v2 + - uses: 1arp/create-a-file-action@0.4.5 - name: Set up Python (if you use Python for scripts) uses: actions/setup-python@v4 @@ -26,11 +26,8 @@ jobs: - name: Create HTML pages run: | python3 XML2HTML.py - - - name: Commit new files - run: | - git config --global user.name 'GitHub Actions' - git config --global user.email 'actions@github.com' - git add dataset_html/ - git commit -m 'Add new files' + git config --global user.name "GitHub Actions" + git config --global user.email "actions@github.com" + git add . + git commit -m "Update files" git push