diff --git a/.github/workflows/preview.yml b/.github/workflows/preview.yml deleted file mode 100644 index df0076e..0000000 --- a/.github/workflows/preview.yml +++ /dev/null @@ -1,32 +0,0 @@ -name: Preview Site - -on: - push: - branches-ignore: - - main # or master, depending on your default branch name - -jobs: - build-preview: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - - name: Setup Ruby - uses: ruby/setup-ruby@v1 - with: - ruby-version: '3.0' - - - name: Install dependencies - run: | - gem install bundler - bundle install - - - name: Build site - run: bundle exec jekyll build - - - name: Deploy preview - uses: peaceiris/actions-gh-pages@v3 - with: - github_token: ${{ secrets.GITHUB_TOKEN }} - publish_dir: ./_site - destination_dir: preview/${{ github.ref_name }}