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

chore: removed GitHub pages deployment #2780

Merged
merged 5 commits into from
Jul 18, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions .changeset/sweet-schools-jump.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
---
---

chore: removed GitHub pages deployment
arboleya marked this conversation as resolved.
Show resolved Hide resolved
20 changes: 2 additions & 18 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,6 @@ jobs:
name: "Release"
runs-on: ubuntu-latest
permissions: write-all
environment:
name: github-pages
url: ${{ steps.deployment.outputs.page_url }}
# Ensure that the workflow runs only after a commit is pushed into the branch
# and not when the branch is created.
# This is to avoid running the workflow when a release/* branch is created.
Expand Down Expand Up @@ -125,21 +122,6 @@ jobs:
if: startsWith(env.LAST_COMMIT_MSG, 'ci(changesets):') && env.RELEASE_VERSION_HIGHER_THAN_LATEST == 'true'
run: echo SHOULD_DEPLOY_DOCS=true >> $GITHUB_ENV

- name: Configure GitHub Pages
if: env.SHOULD_DEPLOY_DOCS == 'true'
uses: actions/configure-pages@v5

- name: Upload Docs Artifact
if: env.SHOULD_DEPLOY_DOCS == 'true'
uses: actions/upload-pages-artifact@v3
with:
path: apps/docs/dist

- name: Deploy Docs
if: env.SHOULD_DEPLOY_DOCS == 'true'
id: deployment
uses: actions/deploy-pages@v4

- name: Checkout API Docs
if: env.SHOULD_DEPLOY_DOCS == 'true'
uses: actions/checkout@v4
Expand Down Expand Up @@ -206,12 +188,14 @@ jobs:
arch: amd64
rootdir: ""
workdir: ""

- uses: aws-actions/configure-aws-credentials@v4
if: github.ref_name == 'master' && steps.changesets.outputs.published != 'true'
with:
aws-access-key-id: ${{ secrets.S3_CDN_ACCESS_KEY }}
aws-secret-access-key: ${{ secrets.S3_CDN_SECRET_KEY }}
aws-region: us-east-1

- name: Upload assets to s3
if: github.ref_name == 'master' && steps.changesets.outputs.published != 'true'
run: |
Expand Down
1 change: 0 additions & 1 deletion apps/docs/.vitepress/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ import apiLinks from '../.typedoc/api-links.json';
export default defineConfig({
title: 'Fuels-ts',
description: 'Fuel Typescript SDK',
base: '/fuels-ts/',
srcDir: 'src',
outDir: 'dist',
lang: 'en-US',
Expand Down
Loading