Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Website Deployment #828

Closed
fishcharlie opened this issue Apr 19, 2020 · 0 comments
Closed

Website Deployment #828

fishcharlie opened this issue Apr 19, 2020 · 0 comments
Milestone

Comments

@fishcharlie
Copy link
Member

We need to get the documentation website deployment process working. The current plan is to deploy using GitHub Actions when the version is not a prerelease version.

jobs:
  publishsite:
    needs: getinfo
    runs-on: ubuntu-latest
    if: needs.getinfo.outputs.npmtag == 'latest'
    steps:
      - uses: actions/checkout@v2
      - uses: actions/setup-node@v1
        with:
          node-version: 12
          registry-url: https://registry.npmjs.org/
      # TODO: need to get into correct directory (docs)
      - run: npm ci
      - run: npm run build
      - uses: jakejarvis/s3-sync-action@v0.5.1
        with:
          args: --acl public-read --follow-symlinks --delete
        env:
          AWS_S3_BUCKET: ${{ secrets.AWS_S3_BUCKET }}
          AWS_ACCESS_KEY_ID: ${{ secrets.AWS_ACCESS_KEY_ID }}
          AWS_SECRET_ACCESS_KEY: ${{ secrets.AWS_SECRET_ACCESS_KEY }}
          AWS_REGION: 'us-west-2'
          SOURCE_DIR: 'docs/build'

This issue is currently on hold until we fix up the DNS settings for the domain.

@fishcharlie fishcharlie added the status:on-hold Blocked by something else label Apr 19, 2020
@fishcharlie fishcharlie added this to the v2.0 milestone Apr 19, 2020
@fishcharlie fishcharlie removed the status:on-hold Blocked by something else label Apr 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant