diff --git a/.github/workflows/publish_website.yaml b/.github/workflows/publish_website.yaml index e12e679..08e0136 100644 --- a/.github/workflows/publish_website.yaml +++ b/.github/workflows/publish_website.yaml @@ -1,4 +1,4 @@ -name: publish_webiste +name: publish_website on: push: @@ -28,13 +28,13 @@ jobs: cp -r img/ temp/img/ jupyter nbconvert tutorial.ipynb --to slides --reveal-prefix reveal.js --output temp/index.html ls -R temp - - - name: Push files to website branch - uses: ad-m/github-push-action@master - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - branch: 'website' - directory: 'temp' - force: true + + - name: Deploy + uses: s0/git-publish-subdir-action@develop + env: + REPO: self + BRANCH: webiste + FOLDER: temp + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}