name: Deploy on: push: branches: - master jobs: deploy: runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v4 with: submodules: true # Fetch Hugo themes (true OR recursive) fetch-depth: 0 # Fetch all history for .GitInfo and .Lastmod - name: Setup Hugo uses: peaceiris/actions-hugo@v2 with: hugo-version: 'latest' - name: Build run: hugo --minify - name: Deploy uses: LumeWeb/web3.news-publisher@develop if: github.ref == 'refs/heads/master' with: node: ${{ vars.NODE }} seed: ${{ secrets.SEED }}