diff --git a/.github/workflows/deploy.yml b/.github/workflows/deploy.yml index 0e1eff4..4c78c27 100644 --- a/.github/workflows/deploy.yml +++ b/.github/workflows/deploy.yml @@ -1,56 +1,19 @@ -# Sample workflow for building and deploying a Jekyll site to GitHub Pages -name: Deploy Jekyll site to Pages +name: Manually build and deploy site on: workflow_dispatch: - push: - branches: ["main"] - -# Sets permissions of the GITHUB_TOKEN to allow deployment to GitHub Pages -permissions: - contents: read - pages: write - id-token: write - -# Allow only one concurrent deployment, skipping runs queued between the run in-progress and latest queued. -# However, do NOT cancel in-progress runs as we want to allow these production deployments to complete. -concurrency: - group: "pages" - cancel-in-progress: false jobs: - # Build job - build: + deploy: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v3 - - name: Setup Ruby - uses: ruby/setup-ruby@v1 - with: - ruby-version: '3.1' - bundler-cache: true - cache-version: 0 # Increment this number if you need to re-download cached gems - - name: Setup Pages - id: pages - uses: actions/configure-pages@v3 - - name: Build with Jekyll - # Outputs to the './_site' directory by default - run: bundle exec jekyll build --baseurl "${{ steps.pages.outputs.base_path }}" - env: - JEKYLL_ENV: production - - name: Upload artifact - # Automatically uploads an artifact from the './_site' directory by default - uses: actions/upload-pages-artifact@v2 - # Deployment job - deploy: - environment: - name: github-pages - url: ${{ steps.deployment.outputs.page_url }} - runs-on: ubuntu-latest - needs: build - steps: - - name: Deploy to GitHub Pages - id: deployment - uses: actions/deploy-pages@v2 + - name: Netlify manual deploy + run: | + npm install -g netlify-cli + netlify deploy --prod --build --context production + env: + NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }} + NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }} diff --git a/CNAME b/CNAME deleted file mode 100644 index 10b1eac..0000000 --- a/CNAME +++ /dev/null @@ -1 +0,0 @@ -datadonuts.la \ No newline at end of file diff --git a/README.md b/README.md index 751386e..bb4c8d1 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,9 @@ # Data + Donuts +[`datadonuts.la`](https://datadonuts.la) + +Deployed via [![Netlify Status](https://api.netlify.com/api/v1/badges/8575d097-6b51-4d47-8ed1-2465cef03933/deploy-status)](https://app.netlify.com/sites/data-donuts/deploys) + ## Purpose Data + Donuts is a public sector breakfast series that brings together City and County employees, inspiring them by sharing stories of data and tech projects in a positive and supportive environment.