-
SurveyJS
Open-Source JSON Form Builder to Create Dynamic Forms Right in Your App. With SurveyJS form UI libraries, you can build and style forms in a fully-integrated drag & drop form builder, render them in your JS app, and store form submission data in any backend, inc. PHP, ASP.NET Core, and Node.js.
TL;DR The code is 👉 here 👈. The rest of this post gives information and context about it.
name: "Pull Request clean-up" on: pull_request: types: [unlabeled, closed] jobs: clean-up: if: | (github.event.action == 'unlabeled' && github.event.label.name == ':rocket: deploy') || (github.event.action == 'closed' && contains(github.event.pull_request.labels.*.name, ':rocket: deploy')) runs-on: ubuntu-latest steps: - name: inject slug/short variables uses: rlespinasse/[email protected] - name: set STAGE variable in environment for next steps run: echo "STAGE=pr-${{ github.event.number }}-${{ env.GITHUB_HEAD_REF_SLUG }}" >> $GITHUB_ENV - name: checkout the files uses: actions/checkout@v2 # there is a bug with the actions/cache used in bahmutov/npm-install@v1 on "closed" event # more infos here : https://github.com/actions/cache/issues/478 - name: install node dependencies run: yarn --frozen-lockfile - name: configure AWS credentials uses: aws-actions/configure-aws-credentials@v1 with: aws-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} aws-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} aws-region: eu-west-3 - name: destroy the stack on AWS run: yarn destroy - name: delete the github deployments and the corresponding environment uses: strumwolf/[email protected] with: token: ${{ secrets.GITHUB_TOKEN }} environment: ${{ env.STAGE }}
Services like Vercel, Netlify, Render, Qovery or Railway are all working toward that goal, making our lives way easier. All these platforms allow us to quickly iterate, delivering value by focusing only on our code and forgetting about the nightmare that devops can be. I'm grateful for each of them.