name: My Gatsby Deployment pipeline run-name: ${{ gitea.actor }} is deploying this page to production. on: push: branches: - master jobs: build: runs-on: ubuntu-latest steps: - name: Repository auschecken uses: actions/checkout@v3 - name: Node.js einrichten uses: actions/setup-node@v3 with: node-version: 16 - name: Python 2 installieren und verlinken run: | sudo apt-get update sudo apt-get install -y python2 sudo ln -sf /usr/bin/python2 /usr/bin/python - name: Abhängigkeiten für node-gyp installieren run: | sudo apt-get update sudo apt-get install -y python3 python3-pip build-essential npm install -g node-gyp - name: Abhängigkeiten installieren run: | npm install - name: Gatsby Build run: | npm run build