From c0b276d7f3d5ccb4db736fa23b055b0ddec29982 Mon Sep 17 00:00:00 2001 From: Merrick Sapsford Date: Mon, 4 May 2020 13:21:52 +0200 Subject: [PATCH] Update build scripts --- .github/workflows/publish.yml | 2 +- fastlane/Fastfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/publish.yml b/.github/workflows/publish.yml index 3efe58dd..5c5cd6b8 100644 --- a/.github/workflows/publish.yml +++ b/.github/workflows/publish.yml @@ -17,5 +17,5 @@ jobs: env: SLACK_URL: ${{ secrets.SLACK_URL }} COCOAPODS_TRUNK_TOKEN: ${{ secrets.COCOAPODS_TRUNK_TOKEN }} - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + GITHUB_API_TOKEN: ${{ secrets.GH_UIAS_TOKEN }} run: bundle exec fastlane deploy diff --git a/fastlane/Fastfile b/fastlane/Fastfile index ca299931..7d01e2f8 100644 --- a/fastlane/Fastfile +++ b/fastlane/Fastfile @@ -21,7 +21,7 @@ platform :ios do # Push new Github release github_release = set_github_release( repository_name: "uias/Pageboy", - api_token: ENV["GITHUB_TOKEN"], + api_token: ENV["GITHUB_API_TOKEN"], name: version, tag_name: version, description: "#{version} release.",