millerm30 / chore-bucks

Chore Bucks. Kids complete chores for points.
4 stars 0 forks source link

Switch from using gh-pages manually to CI/CD #5

Closed jackharrhy closed 2 years ago

jackharrhy commented 2 years ago

Steal stuff from Evan :) https://github.com/evnwttn/ao/blob/main/.github/workflows/gh-pages.yml

instead of:

      - name: Install dependencies
        run: cd my-app && npm install

      - name: Build
        run: cd my-app && npm run build

      - name: Deploy
        uses: JamesIves/github-pages-deploy-action@v4.2.5
        with:
          branch: gh-pages
          folder: my-app/build

you would have:

      - name: Install dependencies
        run: npm install

      - name: Build
        run: npm run build

      - name: Deploy
        uses: JamesIves/github-pages-deploy-action@v4.2.5
        with:
          branch: gh-pages
          folder: build
millerm30 commented 2 years ago

Completion of CI/CD for auto gh-pages.