This repository was archived by the owner on Jan 16, 2025. It is now read-only.
tweak css so the grant FAQs doesn't have a huge margin on moblie (#575) #825
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: publish | |
| on: | |
| push: | |
| branches: [ main ] | |
| pull_request: | |
| # Allows you to run this workflow manually from the Actions tab | |
| workflow_dispatch: | |
| jobs: | |
| build: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v2 | |
| - name: Setup Node | |
| uses: actions/[email protected] | |
| with: | |
| node-version: '14.x' | |
| - name: Cache dependencies | |
| uses: actions/cache@v2 | |
| with: | |
| path: ~/.npm | |
| key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }} | |
| restore-keys: | | |
| ${{ runner.os }}-node- | |
| - run: npm ci | |
| - run: npm run build | |
| - run: echo foundation.rust-lang.org > _site/CNAME | |
| - uses: actions/[email protected] | |
| with: | |
| path: ./_site | |
| deploy: | |
| if: ${{ github.ref == 'refs/heads/main' }} | |
| needs: build | |
| permissions: | |
| pages: write | |
| id-token: write | |
| environment: | |
| name: github-pages | |
| url: ${{ steps.deployment.outputs.page_url }} | |
| runs-on: ubuntu-latest | |
| steps: | |
| - id: deployment | |
| uses: actions/[email protected] |