From 80c474007bb132b4ba04f892b709e91b8425f05f Mon Sep 17 00:00:00 2001 From: Gavin Bunney Date: Tue, 15 Oct 2019 09:30:33 -0700 Subject: [PATCH] Updated website links; turn off auto-releasing from travis --- .travis.yml | 8 ++------ docusaurus/website/i18n/en.json | 5 ++++- docusaurus/website/siteConfig.js | 4 ++++ 3 files changed, 10 insertions(+), 7 deletions(-) diff --git a/.travis.yml b/.travis.yml index 343368f..0911626 100644 --- a/.travis.yml +++ b/.travis.yml @@ -27,19 +27,15 @@ matrix: before_deploy: - make build-binaries - - git tag "v0.1.$TRAVIS_BUILD_NUMBER" - - export BODY=$(git log -1 --pretty='%s') deploy: - skip_cleanup: true provider: releases + skip_cleanup: true api_key: - # yamllint disable rule:line-length secure: oB4MFNo958H/bknOkG+yTQ68V0A95xRJPk8xUIrfbL+n1OJIaR3577YpVi64I/kYCxSdjSh3c99p1DP7+hKBDF8B7CQ+slVtAGh5zQ6cWsv5PDX3CWN26fixIUV2/uTdn1FWDrW9a+2JVfhBfoW/H68KtdPp6L7ZD4cgUHRlgO9buzw0Nxvuom7Aii4lg0LyxjbqEckubR/tExVu3P0k16W8LVv/ZnI7P6oqsczgGJvn4EOZw1KiKprhmdTuWELBDr9ShjMBFCyi04cSn/Ar7JG9DPUE1xxo1MNmHvckGBzFXbYOTKik3qQ0olwG3XeAhyoNIfce3siWjVIfPm9F2491sAbCXka5H7UmJkqw7k6eR4UtrS6Zeolti/4ioT/7rJcyO438Za6xYQmtkBPBCE2mAWSw/b42QGbsi5PPnRBYID5Solx+74Fx855/TMqJXpHm6Qq3/+zIatBRbVqyzzJsdI8rUA6gqudE4DN9w50qOYENP2WxodbORuzW7wZzK0Eyl2XkzJ1osfr824eM7FekUZqyIDhH9VnD044itqcE5xhYI1mz84AY0vGCPB0DbJZH+qrM9e39huL/CoauN/FgOBFoH9e/g5K+bTSZSUFKh3BIG6moBNS8apDoa5+c8c7/A3U2Ero2F4Y6v2sLK36w7sCUmhyPHPowAwZf7yw= file_glob: true file: bin/* body: ${BODY} - # yamllint disable-line rule:truthy on: repo: gavinbunney/terraform-provider-bitbucketserver - branch: master + tags: true diff --git a/docusaurus/website/i18n/en.json b/docusaurus/website/i18n/en.json index 7d6c014..1c5b16b 100644 --- a/docusaurus/website/i18n/en.json +++ b/docusaurus/website/i18n/en.json @@ -86,7 +86,10 @@ "title": "bitbucketserver_user" } }, - "links": {}, + "links": { + "Releases": "Releases", + "GitHub": "GitHub" + }, "categories": { "Bitbucket Server": "Bitbucket Server", "Data Sources": "Data Sources", diff --git a/docusaurus/website/siteConfig.js b/docusaurus/website/siteConfig.js index f96dd5a..a94449d 100644 --- a/docusaurus/website/siteConfig.js +++ b/docusaurus/website/siteConfig.js @@ -16,8 +16,12 @@ const siteConfig = { projectName: 'terraform-provider-bitbucketserver', organizationName: 'gavinbunney', + editUrl: 'https://github.com/gavinbunney/terraform-provider-bitbucketserver/edit/master/docusaurus/docs/', + // For no header links in the top nav bar -> headerLinks: [], headerLinks: [ + { href: "https://github.com/gavinbunney/terraform-provider-bitbucketserver/releases", label: "Releases" }, + { href: "https://github.com/gavinbunney/terraform-provider-bitbucketserver", label: "GitHub" }, ], /* path to images for header/footer */