This action delete a CodePush deployment track using the AppCenter CLI.
You will need a Full Access
API token from AppCenter.
- To deploy a new CodePush, please use huextrat/deploy-codepush
- uses: huextrat/delete-codepush@v1.0.2
with:
# Required, as the AppCenter CLI requires authentication
# Make it secure, using GitHub secrets for instance
# Example: ${{ secrets.APPCENTER_API_TOKEN }}
token: ''
# Required, as the AppCenter CLI requires an app name
# Format: <ownerName>/<appName>
# Example: huextrat/MyApp
app: ''
# Deployment track you want to delete
deploymentTrack: ''
- AppCenter Android app name is:
huextrat/MyApp-Android
- AppCenter iOS app name is:
huextrat/MyApp-iOS
- uses: huextrat/delete-codepush@v1.0.2
with:
token: ${{ secrets.APP_CENTER_API_KEY }}
app: "huextrat/MyApp-Android"
deploymentTrack: "Staging"
- uses: huextrat/delete-codepush@v1.0.2
with:
token: ${{ secrets.APP_CENTER_API_KEY }}
app: "huextrat/MyApp-iOS"
deploymentTrack: "Staging"